<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	template="../Template/Template.xhtml"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:fmt="http://java.sun.com/jsp/jstl/fmt">

	<ui:define name="title">
    Trang Đăng Nhập
  	</ui:define>

	<ui:define name="content">
		<div id="MainPanel" align="left">

			<div class="ContentPart">
				<h3 class="ContentPartHeader">Đăng nhập</h3>
				<div class="ContentPartContent" align="left">
					<h:messages styleClass="error" />

					<div class="ins">Username</div>
					<h:inputText class="txtField"
						value="#{taiKhoanDangNhapBean.currUsername}" />
					<br />
					<div class="ins">Password</div>
					<h:inputText class="txtField"
						value="#{taiKhoanDangNhapBean.currPassword}" />
					<!-- <table width="200">
					<tr>
						<td class="ins">Username:</td>
						<td><h:inputText value="#{taiKhoanDangNhapBean.currUsername}" />
						</td>
					</tr>
					<tr>
						<td class="ins">Password:</td>
						<td><h:inputText value="#{taiKhoanDangNhapBean.currPassword}" />
						</td>
					</tr>
				</table> -->
					<br />
					<h:commandButton class="buttonLink button flowToRight"
						action="#{taiKhoanDangNhapBean.DangNhap()}" value="Đăng nhập" />

					<br /> <span>Bạn Chưa tạo tài khoản ? <h:link
							styleClass="mediumSize bold" value="Đăng Kí"
							outcome="TrangDangKy" />
					</span>

				</div>
			</div>
		</div>
	</ui:define>
</ui:composition>

